<style>
    * {
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
    }

    li {
        list-style: none;
    }

    html,
    body {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .top1Left a {
        text-decoration: none;
        color: black;
        margin-left: 10px;
    }

    /*--------------------头部开始------------------*/
    .navTop {
        width: 100%;
        height: 130px;
    }

    .top {
        height: 130px;
        width: 1200px;
        font-size: 12px;
        margin: 0 auto;
    }

    .top1 {
        height: 34px;
        width: 1200px;
    }

    .top1Left {
        width: 300px;
        height: 34px;
        line-height: 32px;
        float: left;
    }

    .top1Left a:nth-child(3) img {
        vertical-align: middle;
    }

    .top1Left a:nth-child(4) img {
        vertical-align: middle;
    }

    .top1Right {
        width: 300px;
        height: 34px;
        line-height: 34px;
        float: right;
    }

    .top1Right li {
        margin-left: 2px;
        float: left;
        display: inline-block;
        margin-left: 20px;
        letter-spacing: 1px;
    }

    .top1Right li a {
        font-size: 12px;
        color: #757575;
    }

    .top1Right li:nth-child(3) a {
        color: #8da7cb;
    }

    .top2 {
        height: 96px;
        width: 1200px;
    }

    .top2Left {
        float: left;
    }

    .top2Left img {
        margin-top: 12px;
    }

    .top2Right {
        width: 660px;
        height: 80px;
        float: right;
    }

    .top2Right .search {
        width: 338px;
        height: 37px;
        margin-right: 40px;
        margin-top: 31px;
        float: left;
    }

    .top2Right .search form input {
        height: 33px;
        border: 2px solid #f00582;
        width: 240px;
        padding-left: 5px;
        font: 12px/1.14 arial, \5b8b\4f53;
        color: #333;
        outline: none;
    }

    .top2Right .search form button {
        height: 37px;
        overflow: hidden;
        padding: 7px 30px;
        display: inline-block;
        background-color: #f00582;
        font: 12px/1.14 arial, \5b8b\4f53;
        color: white;
        padding: 8px 30px;
        letter-spacing: 2px;
        border: 0;
        line-height: 21px;
        cursor: pointer;
        margin-left: -4px;
        margin-top: 1px;
        border: 0;
        outline: 0;
    }

    .top2Right ul {
        display: inline-block;
        float: left;
        width: 280px;
        height: 80px;
    }

    .top2Right ul li {
        width: 60px;
        height: 70px;
        float: left;
        margin: 10px 16px
    }

    .top2Right ul .li1 {
        background: url(../images/baozhang.png) no-repeat 0px 1px;
    }

    .top2Right ul .li2 {
        background: url(../images/baozhang.png) no-repeat 0px -77px;
    }

    .top2Right ul .li3 {
        background: url(../images/baozhang.png) no-repeat 0px -151px;
    }
</style>




<div class="navTop">
    <div class="top">
        <div class="top1">
            <div class="top1Left">
                <a href="http://127.0.0.1:5500/AAAAAAjuhui/src/html/login.html">用户登录</a>
                <a href="http://127.0.0.1:5500/AAAAAAjuhui/src/html/regist.html">免费注册</a>
                <a href="#"><img src="../images/Connect_logo_6.png" alt=""></a>
                <a href="#"><img src="../images/weibo_login_s.png" alt=""></a>
            </div>
            <div class="top1Right">
                <ul>
                    <li><a href="#">设为首页</a></li>
                    <li><a href="">加入收藏</a></li>
                    <li><a href="">遇到购物问题?联系我></a></li>
                </ul>
            </div>
        </div>
        <div class="top2">
            <div class="top2Left">
                <img src="../images/850899505_logo.jpg" alt="">
            </div>
            <div class="top2Right">
                <div class="search">
                    <form action="">
                        <input type="text" placeholder="好宝贝 等你搜">
                        <button>搜索</button>
                    </form>
                </div>
                <ul>
                    <li class="li1"></li>
                    <li class="li2"></li>
                    <li class="li3"></li>
                </ul>
            </div>
        </div>
    </div>
</div>